//
//  TJMessageTableViewController.swift
//  WeiBo
//
//  Created by TanJian on 15/12/5.
//  Copyright © 2015年 Joshpell. All rights reserved.
//

import UIKit

class TJMessageTableViewController: TJVisitorTableViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        
        if !userLogon{
            
            visitorVC?.setupVisitor("visitordiscover_image_message", text: "登录后，别人评论你的微博，发给你的消息，都会在这里收到通知")
            
            return
            
        }
        
        setupUI()
        
    }
    
    func setupUI(){
        
        navigationItem.leftBarButtonItem = UIBarButtonItem(title: "发现群", target: self, action: "discovery")
    }

    
    @objc private func discovery(){
        
        let VC = TJTempViewController()
        navigationController?.pushViewController(VC, animated: true)
    }
}
